MailPoet\Services\Bridge A

Total Complexity 53
Dependencies 7
Dependents 28
Total lines 311
Lines of code 207
Logical lines of code 88
Comment lines 36
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
onSettingsSave()
A
55 9 18
processKeyCheckResult()
S
53 5 24
getAuthorizedSenderDomains()
S
57 4 17
storeMSSKeyAndState()
S
60 3 16
storePremiumKeyAndState()
S
60 3 16
getAuthorizedEmailAddresses()
S
65 4 9
__construct()
S
65 3 10
isMPSendingServiceEnabled()
S
64 3 9
isMailpoetSendingServiceEnabled()
S
64 3 9
buildKeyState()
S
66 3 8
initApi()
S
69 2 7
isMSSKeySpecified()
S
72 1 5
isPremiumKeySpecified()
S
72 1 5
pingBridge()
S
65 1 9
getApi()
S
73 1 5
createAuthorizedEmailAddress()
S
71 1 6
createAuthorizedSenderDomain()
S
70 1 6
verifyAuthorizedSenderDomain()
S
71 1 6
checkMSSKey()
S
72 1 6
checkPremiumKey()
S
72 1 6
updateSubscriberCount()
S
79 1 3
invalidateKey()
S
69 1 7